export default function () {
    const nameIsNull = (data) => {
        let val = "";
        if (!data || data === val) {
            return "暂无数据";
        } else {
            return data;
        }
    };

    return {
        nameIsNull,
    }
}